import { getPinSetting } from "@/api/pin";

export default {
    methods: {
        async showSimLockDialog() {
            if (this.$route.path != '/login') {
                try {
                    const res = await getPinSetting();
                    this.$refs.simLockDialogRef.getLockInfo(res);
                } catch (error) {
                    console.log(error);
                }
            } else {
                this.$refs.simLockDialogRef.hide();
            }
        }
    }
};
